<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>表单页面</title>
		<link rel="icon" href="favicon.ico" />
		<script>
			//表单页面相关的全局参数
			var PAGE_IS_FORM = true;
			var modelType, modelId, pageId, pageType, pageKind, dataId;
			function _get_parameter_from_url(param_name){
				var url = window.location.href;
				var params = {};
				if(url && url.indexOf("?")>0){
					var param_str = url.substring(url.lastIndexOf("?")+1);
					if(param_str){
						var param_list = param_str.split("&");
						if(param_list && param_list.length>0){
							for(var i=0; i<param_list.length; i++){
								var tmp_key = param_list[i].substring(0,param_list[i].indexOf("="));
								var tmp_value = param_list[i].substring(1+param_list[i].indexOf("="));
								if(param_name && tmp_key===param_name){
									return tmp_value;
								}
								params[tmp_key] = tmp_value;
							}
						}
					}
				}
				if(param_name){
					//没取到指定的参数
					return;
				}
				return params;
			}
			modelType = _get_parameter_from_url("modelType")??"";
			modelId   = _get_parameter_from_url("modelId")??"";
			pageId    = _get_parameter_from_url("id")??"";
			pageType  = _get_parameter_from_url("pageType")??"";
			dataId    = _get_parameter_from_url("dataId")??"";
		</script>
	</head>

	<body>
		<div class="">
			<div id="form-wrapper">
				
			</div>
		</div>
		
		

			
		<script src="assets/js/lib/require-2.3.6/require.js" data-main="assets/js/main"></script>
	</body>

</html>